<?php
/**
 * 系统配文件
 * 所有系统级别的配置
 */
return array(
    /*付款方式*/
    'PAY_WAY' => array('1' => '在线付款', '2' => '线下付款'),

    /*拍单状态*/
    'ORDER_STATUS' => array(
        '1' => '审核中'
    , '2' => '审核驳回'
    , '3' => '投标中'
    , '301' => '待竞拍'
    , '4' => '竞拍中'
    , '5' => '待确认'
    , '52' => '确认失败'
    , '6' => '流拍（重拍）'
    , '61' => '磋商失败'
    , '7' => '待签约'
    , '71' => '签约失败'
    , '81' => '待回车'
    , '82' => '回车中'
    , '83' => '待复检'
    , '86' => '车主待争议'
    , '861' => '车主协商失败'
    , '862' => '锁定'
    , '84' => '待验车'
    , '841' => '已验车'
    , '87' => '车商待争议'
    , '871' => '车商协商失败'
    , '849' => '待结算'
    , '85' => '待收款'
    , '851' => '已收款'
    , '9' => '待过户'
    , '10' => '过户中'
    , '11' => '过户完成'
    , '119' => '平台确认失败'
    , '12' => '拍单失败'
    , '1210' => '自收完成'
    , '13' => '拍单成功'
    ),

    /*new拍单状态*/
    'NEW_ORDER_STATUS' => array(
        '1' => '审核中'
    , '2' => '审核驳回'
    , '3' => '投标中'
    , '301' => '待竞拍'
    , '4' => '竞拍中'
    , '5' => '待确认'
    , '7' => '已确认'
    , '8' => '已签约'
    , '9' => '待过户'
    , '10' => '过户中'
    , '11' => '过户完成'
    , '12' => '拍单失败'
    , '13' => '拍单成功'
    ),

    /*车辆跟踪日志操作名称*/
    'ORDER_ACTION_NAME' => array(
        '1000' => '系统处理',
        '1001' => '开始上拍',
        '1002' => '上拍审核成功',
        '1003' => '上拍审核失败',
        '1004' => '驳回上拍成功',
        '1005' => '驳回上拍失败',
        '1006' => '开始投标',
        '1007' => '开始竞拍',
        '1008' => '竞拍结束',

        '2001' => '车主确认，成交',
        '2002' => '车主确认，磋商',
        '2003' => '车主确认，重拍',
        '2004' => '重拍',
        '2005' => '车主确认，继续跟踪',
        '2006' => '车主确认，不卖',
        '2007' => '车主确认失败，重拍',
        '2008' => '车主不卖',
        '2009' => '双方磋商，成功',
        '2010' => '双方磋商，重拍',
        '2011' => '双方磋商，继续跟踪',
        '2012' => '双方磋商，不卖',
        '2013' => '拍单失败',
        '2014' => '双方磋商，跟踪分配',
        '2015' => '车主确认，跟踪分配',

        //自收业务状态
        '2021' => '平台确认，跟踪分配',
        '2022' => '平台确认，成功',
        '2023' => '平台确认，继续跟踪',
        '2024' => '平台确认，确认失败',

        '2025' => '平台确认，重拍',
        '2026' => '平台确认，退车',
        '2027' => '平台确认，其他渠道成交',

        '3001' => '违约车辆，重拍',
        '3002' => '违约车辆，退车',
        '3003' => '违约车辆，其他渠道成交',
        '3004' => '确认回车',
        '3005' => '确认到店',
        '3006' => '复检核实无误',
        '3007' => '复检继续跟踪',
        '3008' => '复检车况不符',
        '3009' => '签约分配成功',
        '3010' => '签约跟踪',
        '3011' => '签约成功',
        '3012' => '签约失败',

        '4000' => '车商验车，发送短信',
        '4001' => '车商验车，通知验车',
        '4002' => '车商验车，验车成功',
        '4003' => '车商验车，车况不符',
        '4004' => '车商验车，超时违约',
        '4005' => '车商付款跟踪',
        '4006' => '车商付款超时',
        '4007' => '车商过户争议，协商成功',
        '4008' => '车商争议，协商成功',
        '4009' => '车商争议，违约扣款',
        '4010' => '我方违约，违约补偿',
        '4011' => '车主争议，协商成功',
        '4012' => '车主争议，车主不卖',
        '4013' => '过户争议',
        '4014' => '过户跟踪',
        '4015' => '开始过户',
        '4016' => '过户完成',
        '4017' => '外迁送档',
        //争议变更单
        '4018' => '验车发起违约',
        '4019' => '车商付款跟踪发起违约',
        '4020' => '过户发起违约',
        '4021' => '车商争议赔付',
        '4022' => '车商争议订单关闭',
        '4023' => '车主争议赔付',
        '4024' => '车主争议订单关闭',
        '4025' => '争议处理,买方违约',
        '4026' => '争议处理,卖方违约',
        '4027' => '变更单买方违约',
        '4028' => '变更单卖方违约',
        '4029' => '变更单作废',
        '4030' => '变更单拒绝执行',
        '4031' => '过户发起争议',
        '4032' => '验车发起争议',
        '4033' => '车商验车，继续跟踪',

        '5000' => '确认收款，转账',
        '5001' => '确认收款',
        '5002' => '核实收款',
        '5003' => '确认付首款',
        '5004' => '确认付尾款',
        '5005' => '已退车款',
        '5006' => '已收退款',
        '5007' => '车主补偿',
        '5008' => '车商补偿',
        '5009' => '业务核实',
        '5010' => '核实放款',


        '1101' => '第一名车商确认收车',
        '1102' => '车商违约',
        '1103' => '待签约',
        '1200' => '交易失败',
    ),
    /*有差异的拍单状态名称*/
    'ORDER_DIFF_ACTION_NAME' => array(
        '车主确认成功' => '车主确认，成交',
        '车主确认,磋商' => '车主确认，磋商',
        '跟踪车主确认' => '车主确认，继续跟踪',

        '车辆违约,重拍' => '违约车辆，重拍',
        '车辆违约,退车' => '违约车辆，退车',
        '车辆违约,其他渠道成交' => '违约车辆，其他渠道成交',

        '磋商成功' => '双方磋商，成功',
        '磋商继续跟踪' => '双方磋商，继续跟踪',

        '付款超时' => '车商付款超时',
        '分配成功' => '签约分配成功'
    ),

    //拍单付款状态
    'ORDER_PAY_STATUS' => array(
        '0' => '--'
    , '1' => '待付首款'
    , '2' => '已付首款'
    , '3' => '待付尾款'
    , '4' => '已付尾款'
    , '-1' => '付款关闭'
    ),
    //车辆业务状态
    'CAR_BUSINESS_STATUS' => array(
        '1' => '待预约'
    , '2' => '跟踪预约'
    , '3' => '预约失败'
    , '4' => '待分配'
    , '5' => '待检测'
    , '6' => '检测成功'
    , '7' => '检测失败'
    ),
    /*失败类型*/
    'ORDER_FAIL_TYPE' => array(
        '1' => '车主要求重拍',
        '2' => '车主不卖了',
        '3' => '签约失败',
        '4' => '车商违约',
        '5' => '过户失败'
    ),
    /*车商确认状态*/
    'DEALER_CONFRIM_STATUS' => array(
        '1' => '待确认',
        '2' => '第一名车商失败',
        '3' => '第二名车商失败',
        '4' => '待付款',
        '5' => '付款成功'
    ),
    /*付款种类*/
    'PAY_TYPE' => array(
        '1' => '首付款支付',
        '2' => '尾款支付'
    ),

    'SCENE_STATUS' => array(
        '-1' => '禁用',
        '1' => '待拍卖',
        '2' => '拍卖中',
        '3' => '拍卖结束'
    ),
    /*收款方式*/
    'COLLECTION_TYPE' => array(
        '1' => '现金',
        '2' => '刷卡',
        '3' => '转账'
    ),
    /*过户手续类型*/
    //图片类型:1登记证1-2页;2登记证3-4页;3登记证5-6页;4买家身份证（正反面);5卖家身份证（正反面）;6行驶证正面;7行驶证副证;8行驶证车辆照片;9过户票;10其他手续;
    'TRANSFER_PROCEDURE_TYPE' => array(
        '1' => '登记证1-2页',
        '2' => '登记证3-4页',
        '3' => '登记证5-6页',
        '4' => '买家身份证（正反面)',
        '5' => '卖家身份证（正反面）',
        '6' => '行驶证正面',
        '7' => '行驶证副证',
        '8' => '行驶证车辆照片',
        '9' => '过户票',
        '10' => '其他手续',
    ),
    /*交易服务费配置*/
    'TRADE_SERVICE_FEE' => array(
        'percentage' => 0.01,
        'min' => 600,
        'max' => 2000,
    ),
    //1:车况不符, 2:超时验车,3:待过户争议,4:结算争议,5:过户中争议,6:待收款争议,7:核实收款争议
    'DEALER_ISSUE_TYPE' => array(
        '1' => '车况不符',
        '2' => '超时验车',
        '3' => '待过户争议',
        '4' => '结算争议',
        '5' => '过户中争议',
        '6' => '待收款争议',
        '7' => '核实收款争议'
    ),

    //场次活动类型
    'ACTIVITY_TYPE' => array(
        '1' => '补贴减免',
    ),

    //活动规则类型
    'ACTIVITY_RULES_TYPE' => array(
        '1' => '统一减免',
        '2' => '根据规则减免',
    ),

    //采购单状态
    'PURCHASE_ORDER_STATUS' => array(
        '1' => '处理中',
        '2' => '采购关闭',
        '3' => '已完成',
    ),

    //采购单类型
    'PURCHASE_ORDER_TYPE' => array(
        '1' => '平台交易',
        '2' => '公司自收',
    ),

);
